Package com.cisco.pt.ipc.sim
Interface OSPFRoutingEntry
- All Superinterfaces:
IPCData,RoutingEntry
- All Known Implementing Classes:
OSPFRoutingEntryImpl
-
Method Summary
Modifier and TypeMethodDescriptionintvoidsetAdvRoute(IPAddress advRoute) voidsetRealCost(int realCost) Methods inherited from interface com.cisco.pt.ipc.sim.RoutingEntry
getAdminDistance, getMetric, getNetworkId, getNextHop, getPortName, getSubnetMask, getTypeOfProtocol, setAdminDistance, setMetric, setNetworkId, setNextHop, setPortName, setSubnetMask, setTypeOfProtocol
-
Method Details
-
getRealCost
int getRealCost()- Returns:
- int Returns a int
-
setRealCost
void setRealCost(int realCost) - Parameters:
realCost- Takes in a parameter of realCost
-
getAdvRoute
IPAddress getAdvRoute()- Returns:
- IPAddress Returns a IPAddress
-
setAdvRoute
- Parameters:
advRoute- Takes in a parameter of advRoute
-